package com.bluegalaxy.nhb.snservice.service.ck.impl;

import com.bluegalaxy.nhb.snservice.dao.UsersMapper;
import com.bluegalaxy.nhb.snservice.service.ck.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("UsersService")
public class UsersServiceImpl implements UsersService {
    @Autowired
    private UsersMapper usersMapper;


    @Override
    public Map<String, Object> selectByDistinctId(String distinctId) {
        return usersMapper.selectByDistinctId(distinctId);
    }

    @Override
    public Map<String, Object> selectByLoginId(String loginId) {
        return usersMapper.selectByLoginId(loginId);
    }
}
